<template>
  <div class="findCategory">
    <div class="category"><img src="~/assets/img/find/分类.svg" alt=""></div>
    <div class="recommend"><img src="~/assets/img/find/热门.svg" alt=""><div>热门推荐</div></div>
    <div class="tourCircle"><img src="~/assets/img/find/相机.svg" alt=""><div>旅游圈</div></div>
    <div class="search"><img src="~/assets/img/find/搜索.svg" alt=""></div>
  </div>
</template>

<script>
export default {
  name: 'findCategory',
}
</script>

<style scoped>
.findCategory {
    display: flex;
    position: fixed;
    top: 44px;
    width: 100%;
    height: 40px;
    background-color: #B1D3ee;
}
/* 分类样式 */
.category {
    flex: 1;
    padding: 5px;
}
.category img {
    height: 100%;
    text-align: center;
}
/* 热门推荐样式 */
.recommend {
    flex: 2;
    background-color: #8DC1E9;
    border-radius: 20px;
}
.recommend img {
    width:30px;
    height: 100%;
    padding-left: 10px;
}
.recommend div {
    float: right;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    color: #fff;
}
/* 旅游圈样式 */
.tourCircle {
    flex: 2;
    /* border-radius: 20px; */
}
.tourCircle img {
    width:20px;
    height: 100%;
    margin-left: 25px;
    margin-right: 0;
}
.tourCircle div {
    float: right;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 0px;
    color: #fff;
}
/* 搜索框样式 */
.search {
    flex: 1;
    padding: 7px;
    text-align: right;
}
.search img {
    height: 100%;
}
</style>